package com.rs.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.rs.model.ItemsRecipients;


@Mapper
public interface ItemsRecipientsMapper {
	int deleteByPrimaryKey(Integer it_id);

	int insert(ItemsRecipients record);

	ItemsRecipients selectByPrimaryKey(Integer it_id);

	List<ItemsRecipients> selectAll();

	int updateByPrimaryKey(ItemsRecipients record);

	List<ItemsRecipients> recipientsAllPC(ItemsRecipients items);//查询所有物品领用申请

	ItemsRecipients recipientsByIdPC(Integer id);//根据ID查询

	int recipientsUpdatePC(ItemsRecipients itre);//修改申请物品领用内容

	int recipientsAddPC(ItemsRecipients itre);//添加申请

	int recipientsDelPC(ItemsRecipients itre);//删除申请

	List<ItemsRecipients> recipientsAllApp();//App查询所有

	int recipientsAddApp(ItemsRecipients itre);//App添加申请

	int recipientsUpdateApp(ItemsRecipients itre);//修改申请物品领用内容App

	int recipientsDelApp(ItemsRecipients itre);//删除申请App

}